package com.pattern.once.mediator;

public class Purchase extends AbstractColleague {

    public Purchase(AbstractMediator mediator) {
        super(mediator);
    }

    public void buyComputer (int number){
        super.mediator.execute("purchase.buy",number);
    }

    public void refuseBuy(){
        System.out.println("不再采购电脑");
    }



}
